import { $t } from "@/plugins/i18n";

export default {
  path: "/mine",
  redirect: "/mine/userInfo",
  meta: {
    icon: "ep:avatar",
    title: $t("menus.mine"),
    rank: 1
  },
  children: [
    {
      path: "/mine/userInfo",
      name: "userInfo",
      component: () => import("@/views/mine/userInfo.vue"),
      meta: {
        title: $t("menus.userInfo")
      }
    },
    {
      path: "/mine/message",
      name: "message",
      component: () => import("@/views/mine/message.vue"),
      meta: {
        title: $t("menus.message")
      }
    }
  ]
} satisfies RouteConfigsTable;
